package com.simon.annual.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the company_basic database table.
 * 
 */
@Entity
@Table(name="company_basic")
@NamedQuery(name="CompanyBasic.findAll", query="SELECT c FROM CompanyBasic c")
public class CompanyBasic implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Lob
	@Column(name="business_scope")
	private String businessScope;

	@Temporal(TemporalType.DATE)
	@Column(name="found_date")
	private Date foundDate;

	@Column(name="in_province_id")
	private int inProvinceId;

	@Column(name="is_public")
	private byte isPublic;

	@Column(name="legal_rep_id")
	private int legalRepId;

	@Column(name="location_city_id")
	private int locationCityId;

	@Column(name="name_en")
	private String nameEn;

	@Column(name="name_zh")
	private String nameZh;

	@Column(name="office_address")
	private String officeAddress;

	@Column(name="org_code")
	private String orgCode;

	@Column(name="qichacha_key")
	private String qichachaKey;

	@Temporal(TemporalType.DATE)
	@Column(name="record_date")
	private Date recordDate;

	@Column(name="reg_address")
	private String regAddress;

	@Column(name="reg_bureau")
	private String regBureau;

	@Column(name="reg_capital")
	private BigDecimal regCapital;

	@Column(name="reg_code")
	private String regCode;

	@Temporal(TemporalType.DATE)
	@Column(name="reg_date")
	private Date regDate;

	private String status;

	@Column(name="tax_code")
	private String taxCode;

	@Temporal(TemporalType.DATE)
	@Column(name="term_begin")
	private Date termBegin;

	@Temporal(TemporalType.DATE)
	@Column(name="term_end")
	private Date termEnd;

	private String type;

	public CompanyBasic() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBusinessScope() {
		return this.businessScope;
	}

	public void setBusinessScope(String businessScope) {
		this.businessScope = businessScope;
	}

	public Date getFoundDate() {
		return this.foundDate;
	}

	public void setFoundDate(Date foundDate) {
		this.foundDate = foundDate;
	}

	public int getInProvinceId() {
		return this.inProvinceId;
	}

	public void setInProvinceId(int inProvinceId) {
		this.inProvinceId = inProvinceId;
	}

	public byte getIsPublic() {
		return this.isPublic;
	}

	public void setIsPublic(byte isPublic) {
		this.isPublic = isPublic;
	}

	public int getLegalRepId() {
		return this.legalRepId;
	}

	public void setLegalRepId(int legalRepId) {
		this.legalRepId = legalRepId;
	}

	public int getLocationCityId() {
		return this.locationCityId;
	}

	public void setLocationCityId(int locationCityId) {
		this.locationCityId = locationCityId;
	}

	public String getNameEn() {
		return this.nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getNameZh() {
		return this.nameZh;
	}

	public void setNameZh(String nameZh) {
		this.nameZh = nameZh;
	}

	public String getOfficeAddress() {
		return this.officeAddress;
	}

	public void setOfficeAddress(String officeAddress) {
		this.officeAddress = officeAddress;
	}

	public String getOrgCode() {
		return this.orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getQichachaKey() {
		return this.qichachaKey;
	}

	public void setQichachaKey(String qichachaKey) {
		this.qichachaKey = qichachaKey;
	}

	public Date getRecordDate() {
		return this.recordDate;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}

	public String getRegAddress() {
		return this.regAddress;
	}

	public void setRegAddress(String regAddress) {
		this.regAddress = regAddress;
	}

	public String getRegBureau() {
		return this.regBureau;
	}

	public void setRegBureau(String regBureau) {
		this.regBureau = regBureau;
	}

	public BigDecimal getRegCapital() {
		return this.regCapital;
	}

	public void setRegCapital(BigDecimal regCapital) {
		this.regCapital = regCapital;
	}

	public String getRegCode() {
		return this.regCode;
	}

	public void setRegCode(String regCode) {
		this.regCode = regCode;
	}

	public Date getRegDate() {
		return this.regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTaxCode() {
		return this.taxCode;
	}

	public void setTaxCode(String taxCode) {
		this.taxCode = taxCode;
	}

	public Date getTermBegin() {
		return this.termBegin;
	}

	public void setTermBegin(Date termBegin) {
		this.termBegin = termBegin;
	}

	public Date getTermEnd() {
		return this.termEnd;
	}

	public void setTermEnd(Date termEnd) {
		this.termEnd = termEnd;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}